public class Main {
    public static void main(String[] args) {

    }
    public static ListNode findMiddleNode(){
        int len=size();
        ListNode cur=head;
        int count=0;
        while(count!=len/2){
            cur=cur.next;
            count++;
        }
        return cur;
    }
}